package chapter06

/**
  * @Copyright: Shanghai Definesys Company.All rights reserved.
  * @Description:
  * @author: chuhaitao
  * @since: 2019/1/6 14:12
  * @history:
  *          1.2019/1/6 created by chuhaitao
  */
object Epre {
  def main(args: Array[String]): Unit = {
    var str = "1212"
    println(str.take(2))
    println(str.drop(2))


  }
}
